/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Negocio;

/**
 *
 * @author Analia
 */
public class Configuracion {

    private String dominio;
    private String correo;
    private String contrasena;
    private int puertoSMTP;
    private int puertoPOP;
    private boolean activa;

    public Configuracion() {
    }

    public Configuracion(String dominio, String correo, String contrasena, int puertoSMTP,
            int puertoPOP, boolean activo) {
        this.dominio = dominio;
        this.correo = correo;
        this.contrasena = contrasena;
        this.puertoSMTP = puertoSMTP;
        this.puertoPOP = puertoPOP;
    }

    public String getDominio() {
        return dominio;
    }

    public void setDominio(String dominio) {
        this.dominio = dominio;
    }

    public String getCorreo() {
        return correo;
    }

    public void setCorreo(String correo) {
        this.correo = correo;
    }

    public String getContrasena() {
        return contrasena;
    }

    public void setContrasena(String contrasena) {
        this.contrasena = contrasena;
    }

    public int getPuertoSMTP() {
        return puertoSMTP;
    }

    public void setPuertoSMTP(int puertoSMTP) {
        this.puertoSMTP = puertoSMTP;
    }

    public int getPuertoPOP() {
        return puertoPOP;
    }

    public void setPuertoPOP(int puertoPOP) {
        this.puertoPOP = puertoPOP;
    }

    public boolean estaActiva() {
        return activa;
    }

    public void setActivo(boolean activa) {
        this.activa = activa;
    }
}
